package com.qkst.website.web.bean;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

import com.qkst.website.backstage.bean.ProductBean;
import com.qkst.website.web.entity.Comment;

/**
 * @author lh
 * @description 评论实体Bean 前端页面交互使用
 * @date 2017-05-11
 * @email ahlxlihao@163.com
 *
 */
public class CommentBean extends Comment implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = -2540414003199669736L;

	/**
     * 评论用户
     */
	private UserBean user = new UserBean();

    /**
     * 评论产品
     */
    private ProductBean product =new ProductBean();
    
    /**
     * 回复的评论
     */
    private Comment replay = new Comment();
    
    /**
     * 子评论
     */
    private List<CommentBean> children =new ArrayList<CommentBean>(); 
    
    /**
     * 评论附件关系
     */
    private List<CommentRelAccessoryBean> commentRelAccessoryList = new ArrayList<CommentRelAccessoryBean>();

	public UserBean getUser() {
		return user;
	}

	public void setUser(UserBean user) {
		this.user = user;
	}

	public ProductBean getProduct() {
		return product;
	}

	public void setProduct(ProductBean product) {
		this.product = product;
	}

	public Comment getReplay() {
		return replay;
	}

	public void setReplay(Comment replay) {
		this.replay = replay;
	}

	public List<CommentBean> getChildren() {
		return children;
	}

	public void setChildren(List<CommentBean> children) {
		this.children = children;
	}

	public List<CommentRelAccessoryBean> getCommentRelAccessoryList() {
		return commentRelAccessoryList;
	}

	public void setCommentRelAccessoryList(List<CommentRelAccessoryBean> commentRelAccessoryList) {
		this.commentRelAccessoryList = commentRelAccessoryList;
	}
	
}